package com.aqielife.aqiemusic.performance.tasks;

import com.aqielife.aqiemusic.performance.launchstarter.task.MainTask;
import com.aqielife.aqiemusic.performance.launchstarter.task.Task;
import com.aqielife.lib_audio.app.AudioHelper;

import java.util.ArrayList;
import java.util.List;

public class AudioTask extends MainTask {
    // 完成任务间依赖
    @Override
    public List<Class<? extends Task>> dependsOn() {
        ArrayList<Class<? extends Task>> tasks = new ArrayList<>();
        tasks.add(ARouterTask.class);
        return tasks;
    }

    @Override
    public void run() {
        AudioHelper.init(mContext);
    }
}
